import request from '@/utils/request'

// 登录请求
export const reqLogin = data => request.post('/sys/login', data)

// 获取用户信息
export const reqGetUserInfo = () => request.post('/sys/profile')

// 获取头像
export const reqGetUserAvatar = id => request.get(`/sys/user/${id}`)
